projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67125ae
)
gtkstack: remove needless queue_resize
author
Matt Watson
<mattdangerw@gmail.com>
Thu, 10 Dec 2015 23:50:25 +0000
(15:50 -0800)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Fri, 11 Dec 2015 00:51:29 +0000
(16:51 -0800)
In gtk_stack_set_transition_position we should only need to
queue_resize if we are non-homogeneous, which is already done
earlier in the function.
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index 09ee6560910963fd918b1255889783ed1909467c..c832179b4942f1974f2237fcaba88709a2f79336 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-906,8
+906,6
@@
gtk_stack_set_transition_position (GtkStack *stack,
gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
priv->last_visible_child = NULL;
}
-
- gtk_widget_queue_resize (GTK_WIDGET (stack));
}
return done;